package com.tbit.main.pojo;

/**
 * 登录日志
 *
 * @author Leon
 * 2019年1月23日 下午3:52:30
 */
public class LoginLog {
    /**
     * 用户类型
     */
    private Integer type;
    /**
     * 用户id
     */
    private Integer id;
    /**
     * 登录时间
     */
    private String loginTime;
    /**
     * ip
     */
    private String ip;
    /**
     * 代理
     */
    private String agent;

    public LoginLog() {
        super();
    }

    public LoginLog(Integer type, Integer id, String loginTime, String ip, String agent) {
        super();
        this.type = type;
        this.id = id;
        this.loginTime = loginTime;
        this.ip = ip;
        this.agent = agent;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getLoginTime() {
        return loginTime;
    }

    public void setLoginTime(String loginTime) {
        this.loginTime = loginTime;
    }

    public String getIp() {
        return ip;
    }

    public void setIp(String ip) {
        this.ip = ip;
    }

    public String getAgent() {
        return agent;
    }

    public void setAgent(String agent) {
        this.agent = agent;
    }

    @Override
    public String toString() {
        return "LoginLog [type=" + type + ", id=" + id + ", loginTime=" + loginTime + ", ip=" + ip + ", agent=" + agent + "]";
    }

}
